﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ThreadModule.Data
{
    /// <summary>
    /// 螺纹信息类，包含：1.名义螺纹参数、2.实测螺纹参数、3.量规类型、4~7.上下对径原始数据信息以及中间计算参数7个属性
    /// </summary>
    public class ThreadInformation
    {
        /// <summary>
        /// 名义螺纹参数，类型参考<see cref="ThreadParameters"/>
        /// </summary>
        public ThreadParameters nominalThreadParameter { get; set; }

        /// <summary>
        /// 实测螺纹参数，类型参考<see cref="ThreadParameters"/>
        /// </summary>
        public ThreadParameters measuredThreadParameter { get; set; }

        /// <summary>
        /// 量规类型，类型参考<see cref="ThreadGaugeType"/>
        /// </summary>
        public ThreadGaugeType guageType { get; set; }

        /// <summary>
        /// 原始数据信息(上)，类型参考<see cref="ThreadRawData"/>
        /// </summary>
        public ThreadRawData topThreadRawData { get; set; }

        /// <summary>
        /// 原始数据信息(下)，类型参考<see cref="ThreadRawData"/>
        /// </summary>
        public ThreadRawData bottomThreadRawData { get; set; }

        /// <summary>
        /// 中间计算参数(上)，类型参考<see cref="CalculatedThreadParameter"/>
        /// </summary>
        public CalculatedThreadParameter topCalculatedParameter { get; set; }

        /// <summary>
        /// 中间计算参数(下)，类型参考<see cref="CalculatedThreadParameter"/>
        /// </summary>
        public CalculatedThreadParameter bottomCalculatedParameter { get; set; }
    }
}
